package cn.gemiman.daoyi.module.cms.controller.app.appsite.vo;

import cn.gemiman.daoyi.framework.common.enums.TerminalEnum;
import cn.gemiman.daoyi.framework.common.validation.InEnum;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "用户 APP - 友链申请 Request VO")
@Data
public class AppAppSiteSaveReqVO {

    @Schema(description = "编号", example = "28630")
    private Long id;

    private Integer terminalType = TerminalEnum.H5.getTerminal();

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "名称不能为空")
    private String appName;

    @Schema(description = "LOGO", example = "https://www.iocoder.cn")
    @NotEmpty(message = "LOGO不能为空")
    private String appLogoUrl;

    @Schema(description = "简介")
    private String appShortDesc;

    @NotEmpty(message = "域名不能为空")
    @Schema(description = "域名")
    private String bindDomain;

}
